package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog gou = new Dog("狗",2,"绿色");
        gou.drink();
        gou.eat();
        gou.lookAfterTheHouse();

        Chick ji = new Chick("母鸡",1,"红色");
        ji.drink();
        ji.eat();
        ji.layEggs();

        Fish yu = new Fish("鱼",3,"紫色");
        yu.drink();
        yu.eat();
    }
}
